<script setup lang="ts">

import { defineEmits } from 'vue'
const emit = defineEmits(['change'])
const onclick = (value: string) => {
    emit('change', value)
}
</script>
<template>
    <div class="te-size-select d-flex align-items-center justify-content-left">
        <el-button size="small" type="success" @click="onclick('small')"></el-button>
        <el-button size="middle" type="success" @click="onclick('middle')"></el-button>
        <el-button size="large" type="success" @click="onclick('large')"></el-button>
    </div>
</template>
<style scoped>
.te-size-select {
    overflow: hidden;
    min-width: 140px;
}
</style>